package com.tbit.uqbike.object.pojo.dto;

import com.tbit.uqbike.annos.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author LHX
 * @ClassName AccountSpikeDTO
 * @Description
 * @date 2023/5/12 11:48
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
public class AccountSpikeDTO {

    private Integer spikeId;

    /**
     * 区域id
     */
    private Integer accountId;

    @NotNull(message = "道钉编号不能为空")
    @Excel(name = "道钉编号", sort = 1)
    private String spikeNo;

    @NotNull(message = "道钉类型不能为空")
    @Excel(name = "道钉类型", sort = 2)
    private Integer type;

    @NotNull(message = "MAC地址不能为空")
    @Excel(name = "MAC地址", sort = 3)
    private String mac;

    /**
     * 地址
     */
    @Excel(name = "地址", sort = 4)
    private String address;

    @NotNull(message = "道钉状态不能为空")
    @Excel(name = "状态", sort = 5)
    private Integer state;

    /**
     * 原始经度
     */
    private Double lon;

    /**
     * 原始纬度
     */
    private Double lat;

    /**
     * 经度
     */
    @Excel(name = "经度", sort = 6)
    private Double lonC;

    /**
     * 纬度
     */
    @Excel(name = "纬度", sort = 7)
    private Double latC;

    /**
     * 添加时间
     */
    private Date addTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 操作人
     */
    private Integer operateId;

    /**
     * 逻辑删除0:未删除 1:已删除
     */
    private Integer delFlag;

    /**
     * 地图类型
     */
    private Integer mapType;

    /**
     * sql类型:批量修改：1
     */
    private Integer sqlType;

    /**
     * 校验参数为空类型
     */
    private Integer successOrFileType;
}
